package com.shopcart.domain;
import javax.persistence.Entity;


import javax.persistence.Id;

import javax.persistence.Table;

import javax.persistence.Column;

import java.util.Date;


@Entity
@Table(name="s_user_address")
public class UserAddress {

	@Id
	private String id;
	@Column(name="user_id")
	private String userId;
	@Column(name="area")
	private String area;
	@Column(name="address")
	private String address;
	@Column(name="name")
	private String name;
	@Column(name="phone")
	private String phone;
	@Column(name="is_default")
	private Integer isDefault;
	@Column(name="zip_code")
	private String zipCode;
	@Column(name="create_time")
	private Date createTime;


	public String getId(){
		return id;
	}
	public void setId(String id){
		this.id = id;
	}
	public String getUserId(){
		return userId;
	}
	public void setUserId(String userId){
		this.userId = userId;
	}
	public String getArea(){
		return area;
	}
	public void setArea(String area){
		this.area = area;
	}
	public String getAddress(){
		return address;
	}
	public void setAddress(String address){
		this.address = address;
	}
	public String getName(){
		return name;
	}
	public void setName(String name){
		this.name = name;
	}
	public String getPhone(){
		return phone;
	}
	public void setPhone(String phone){
		this.phone = phone;
	}
	public Integer getIsDefault(){
		return isDefault;
	}
	public void setIsDefault(Integer isDefault){
		this.isDefault = isDefault;
	}
	public String getZipCode(){
		return zipCode;
	}
	public void setZipCode(String zipCode){
		this.zipCode = zipCode;
	}
	public Date getCreateTime(){
		return createTime;
	}
	public void setCreateTime(Date createTime){
		this.createTime = createTime;
	}

	
}
